package com.zhao.dao;

import com.zhao.pojo.Publicize;
import org.apache.ibatis.annotations.Mapper;

import javax.servlet.http.HttpSession;
import java.util.List;

@Mapper
public interface PublicizeDao {
    int add(Publicize publicize);
    List<Publicize> findAllBySchoolCounsellorID(String schoolCounsellorID,String universityID);
    Publicize findByID(String publicizeID,String universityID);
    int deletePublicizeByID(String publicizeID,String universityID );
    List<Publicize> getNew3Publicize(String universityID);
    List<Publicize> findAll(String universityID);
    int updatePageviews(Publicize publicize);
}
